﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TcpTestServer.BusinessLogic
{
    public class sleepTask : IRobotTask
    {
        public sleepTask(int sleepTime)
        {
            _sleepTime = sleepTime;
            _waitToFinish = true;
        }
        override public String ToString()
        {
            return "Robot Sleep Task (" + _sleepTime + "ms)";
        }

        bool WaitToFinish
        {
            get
            {
                return _waitToFinish;
            }
        }
        
        bool _waitToFinish;
        int _sleepTime;
        #region IRobotTask Members

        public string to_Xml()
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
